package com.ys.nms.module.business.dal.dataobject.ipv4Mac;

import com.baomidou.dynamic.datasource.annotation.Slave;
import com.ys.nms.framework.mybatis.core.dataobject.BaseSlaveDO;
import com.ys.nms.framework.tenant.core.aop.TenantIgnore;
import lombok.*;
import java.util.*;
import com.baomidou.mybatisplus.annotation.*;
import com.ys.nms.framework.mybatis.core.dataobject.BaseDO;

/**
 * IPMAC DO
 *
 * @author zzy
 */
@TableName("ipv4_mac")
@KeySequence("ipv4_mac_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TenantIgnore
@Slave
public class Ipv4MacDO extends BaseSlaveDO {

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 端口ID
     */
    private Integer portId;
    /**
     * 设备ID
     */
    private Integer deviceId;
    /**
     * mac地址
     */
    private String macAddress;
    /**
     * ipv4地址
     */
    private String ipv4Address;
    /**
     * SNMP 上下文名称
     */
    private String contextName;


}
